<?php

namespace app\rental\validate;

use app\admin\model\RouteModel;
use think\Validate;

class RentalBrandValidate extends Validate
{
    protected $rule = [
        'rank'  => 'require',
        'rank' => 'unique',
    ];
    protected $message = [
        'name.require' => '汽车级别不能为空',
        'name.unique' => '汽车级别已经存在',
    ];
}
